<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-touch-fullscreen" content="yes" />
<!-- <meta http-equiv="refresh" content="3" /> -->
<title></title>
<style type="text/css">
.ifr {
	display:none;
}
</style>
<script type="text/javascript" src="javascript/jquery-1.8.3.min.js"></script>
<script type="text/javascript">

$(document).ready(function() {
	var loadIframe = null;
	function createIframe() {
	  	var iframe = document.createElement("iframe");
	    iframe.style.cssText = "display:none;width:0px;height:0px;";
	    document.body.appendChild(iframe);
	    loadIframe = iframe;
	    redirect();
	}
	function redirect(){
		loadIframe.src="xiaozhangyu://www.htwater.net:8080/hisweb?age=2&name=cnnb";
		var t = Date.now();
		setTimeout(function(){
		  if(Date.now()-t < 600){
		    location.href="http://192.168.30.4:8080/htdemo201501/boa.apk"
		  }
		},500);
	}
	createIframe();
});
</script>
</head>
<body>
<h1>Start App </h1>
<!-- <a href="myapp://jp.app/openwith?name=zhangsan&age=26">启动应用程序</a> --> 
<a href="intent://scan/#Intent;scheme=zxing;package=com.google.zxing.client.android;end"> Take a QR code </a><p>
<a href="xiaozhangyu://www.htwater.net:8080/hisweb?age=2&name=cnnb">启动应用程序1</a><p>
<a href="http://www.htwater.net:8080/hisweb?age=2&name=cnnb">启动应用程序2</a><p>
<a href="market://search?q=pname:com.nytimes.android">search marcket!</a>
</body>
</html>